]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tests/entry: add text-shadow
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 6 Jun 2017 21:32:39 +0000 (14:32 -0700)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 14 Jun 2017 21:00:57 +0000 (14:00 -0700)
Also make the text larger and add an example string, since event
delivery does not seem to work properly under tests.

https://bugzilla.gnome.org/show_bug.cgi?id=783484

tests/interactive/entry.js

index 85652faca703392bbda3770911a94fec02e7170d..f17179d9e7abf2b1b1fcdfbbd452cd93a75b3b70 100644 (file)
@@ -13,10 +13,11 @@ function test() {
     let vbox = new St.BoxLayout({ vertical: true,
                                   width: stage.width,
                                   height: stage.height,
-                                  style: 'padding: 10px; spacing: 10px; font: 15px sans-serif;' });
+                                  style: 'padding: 10px; spacing: 10px; font: 32px sans-serif;' });
     stage.add_actor(vbox);
 
-    let entry = new St.Entry({ style: 'border: 1px solid black;' });
+    let entry = new St.Entry({ style: 'border: 1px solid black; text-shadow: 0 2px red;',
+                               text: 'Example text' });
     vbox.add(entry,
              { expand: true,
                y_fill: false, y_align: St.Align.MIDDLE });